﻿@{
    ViewBag.Title = "JoinUs_Apply";
    Layout = "~/Views/Shared/_Master.cshtml";
}
@using Models.WebSite_HaiSheng
@model JobApply
@Html.HiddenFor(model => model.RecruitmentID)

<script type="text/javascript">
    $(document).ready(function () {
        resetApplyInput();
        $('#banner').attr('src', '/images/jrbanner.jpg');
    });
</script>
<div class="sloed01 left">
    <div align="center">
        <img src="/images/jr1.jpg" width="185" height="57" /></div>
    <div class="fwmt">
        <ul>
            <li><a href="#">加入海盛</a></li>
        </ul>
    </div>
</div>
@using (Html.BeginForm("JoinUs_Apply", "front"))
{
    @Html.ValidationSummary(true)
    <div class="sloed02 right">
        
        <div class="ftoyt">
            <h3>
                我要应聘 APPLY</h3>
        </div>
        <div class="zwzp">
            <h3>
                <img src="/images/jr3.png" width="230" height="25" /></h3>
        </div>
        <div class="job_more">
        <div class="texteb">
            您当前的位置：首页 > 加入海盛 > <span>我要应聘</span>
        </div>
            <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                @if (ViewBag.Error != null)
                {
                    <tr>
                        <td height="38" align="center" valign="top">
                            <span class="red2" style="color: #666; font: 12px Geneva, Arial, Helvetica, sans-serif;">
                                </span><span class="red2"><p><font size=20px color="#FF0000">提交失败：请注意红色框体都为必填选项</font></p></span>
                        </td>
                    </tr>
                }
                <tr>
                    <td height="38" align="center" valign="top">
                        <span class="red2" style="color: #666; font: 12px Geneva, Arial, Helvetica, sans-serif;">
                            岗位名称：</span><span class="red2">@ViewBag.RecruitmentTitle</span>
                            @Html.Hidden("RecruitmentId", ViewBag.RecruitmentId as string)
                    </td>
                </tr>
            </table>
            <table width="95%" align="center">
                <tr>
                    <td width="13%" height="30" align="right" valign="middle">
                        您的姓名：
                    </td>
                    <td width="35%" height="30" align="left" valign="middle">
                        <div class="editor-field">
                            @Html.TextBoxFor(m => m.Applyer, new { style = "width: 192px;" })
                            <span class="red2 STYLE1">*</span>
                        </div>
                    </td>
                    <td width="16%" height="30" align="right" valign="middle">
                        您的性别：
                    </td>
                    <td width="36%" height="30" align="left" valign="middle">
                        @Html.DropDownListFor(m => m.Gender, new SelectList(new List<string>() { "男", "女" }), "--请选择--", new { style = "width: 195px;" })
                        <span class="red2 STYLE1">*</span>
                    </td>
                </tr>
                <tr>
                    <td width="13%" height="30" align="right" valign="middle">
                        英文名称：
                    </td>
                    <td height="30" align="left" valign="middle">
                        @Html.TextBoxFor(m => m.EnglishName, new { style = "width: 192px;" })
                    </td>
                    <td width="16%" height="30" align="right" valign="middle">
                        您的生日：
                    </td>
                    <td width="36%" height="30" align="left" valign="middle">
                        @Html.Telerik().DatePickerFor(model => model.BirthDate)
                        <span class="red2 STYLE1">*</span>
                    </td>
                </tr>
                <tr>
                    <td height="30" align="right" valign="middle">
                        最高学历：
                    </td>
                    <td height="30" align="left" valign="middle">
                        <div class="editor-field">
                            @Html.DropDownListFor(m => m.EducationLevel, new SelectList(new List<string>() { 
                   "研究生以上", "研究生", "大学本科", "大学专科", "中专院校", "技工院校", "高中", "其他" }), "-请选择-", new { style = "width: 195px;" })
                            <span class="red2 STYLE1">*</span>
                        </div>
                    </td>
                    <td height="30" align="right" valign="middle">
                        最高学位：
                    </td>
                    <td height="30" align="left" valign="middle">
                        @Html.DropDownListFor(m => m.Cetification, new SelectList(new List<string>() { 
                  "博士", "硕士", "学士", "无学位", "其他" }), "-请选择-", new { style = "width: 195px;" })
                        <span class="red2 STYLE1">*</span>
                    </td>
                </tr>
                <tr>
                    <td height="30" align="right" valign="middle">
                        您的民族：
                    </td>
                    <td height="30" align="left" valign="middle">
                        @Html.TextBoxFor(m => m.Race, new { style = "width: 192px;" })
                    </td>
                    <td height="30" align="right" valign="middle">
                        婚姻状态：
                    </td>
                    <td height="30" align="left" valign="middle">
                        @Html.DropDownListFor(m => m.Marriage, new SelectList(new List<string>() { "单身", "已婚" }), "--请选择--", new { style = "width: 195px;" })
                        <span class="red2 STYLE1">*</span>
                    </td>
                </tr>
                <tr>
                    <td height="30" align="right" valign="middle">
                        政治背景：
                    </td>
                    <td height="30" align="left" valign="middle">
                        @Html.DropDownListFor(m => m.Political, new SelectList(new List<string>() { "中共党员", "共青团员", "民主党派", "群众" }), "--请选择--", new { style = "width: 195px;" })
                        <span class="red2 STYLE1">*</span>
                    </td>
                    <td height="30" align="right" valign="middle">
                        工作年限：
                    </td>
                    <td height="30" align="left" valign="middle">
                        @Html.TextBoxFor(m => m.WorkingExperience, new { style = "width: 192px;" })
                        <span class="red2 STYLE1">*</span>
                    </td>
                </tr>
                <tr>
                    <td height="30" align="right" valign="middle">
                        您的籍贯：
                    </td>
                    <td height="30" align="left" valign="middle">
                        @Html.TextBoxFor(m => m.BirthPlace, new { style = "width: 192px;" })
                        <span class="red2 STYLE1">*</span>
                    </td>
                    <td height="30" align="right" valign="middle">
                        移动电话：
                    </td>
                    <td height="30" align="left" valign="middle">
                        @Html.TextBoxFor(m => m.Contact, new { style = "width: 192px;" })
                        <span class="red2 STYLE1">*</span>
                    </td>
                </tr>
                <tr>
                    <td height="30" align="right" valign="middle">
                        个人邮件：
                    </td>
                    <td height="30" align="left" valign="middle">
                        @Html.TextBoxFor(m => m.Email, new { style = "width: 192px;" })
                    </td>
                    <td height="30" align="right" valign="middle">
                       期望薪资:
                    </td>
                    <td height="30" align="left" valign="middle">
                    @Html.TextBoxFor(m => m.ExpectedSalary, new { style = "width: 192px;" })
                    <span class="red2 STYLE1">*</span>
                    </td>
                </tr>
                <tr style="height: 145px;">
                    <td height="30" align="right" valign="middle">
                        教育背景：
                    </td>
                    <td height="30" colspan="3" align="left" valign="middle">
                        @Html.TextAreaFor(m => m.EducationBackground, new { style = "height: 130px; width: 570px;" })
                    </td>
                </tr>
                <tr style="height: 145px;">
                    <td height="50" align="right" valign="middle" class="title">
                        项目经历：
                    </td>
                    <td height="30" colspan="3" align="left" valign="middle">
                        @Html.TextAreaFor(m => m.ProjectBackground, new { style = "height: 130px; width: 570px;" })
                    </td>
                </tr>
                <tr style="height: 145px;">
                    <td height="50" align="right" valign="middle" class="title">
                        就业经历：
                    </td>
                    <td height="30" colspan="3" align="left" valign="middle">
                        @Html.TextAreaFor(m => m.WorkingBackground, new { style = "height: 130px; width: 570px;" })
                    </td>
                </tr>
                <tr style="height: 145px;">
                    <td height="50" align="right" valign="middle" class="title">
                        其他：
                    </td>
                    <td height="30" colspan="3" align="left" valign="middle">
                        @Html.TextAreaFor(m => m.Others, new { style = "height: 130px; width: 570px;" })
                    </td>
                </tr>
            </table>
            <table width="95%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="28%" height="41" align="left" valign="middle">
                        &nbsp;
                    </td>
                    <td width="24%" align="left" valign="middle">
                        <input type="submit" value="" id="apply" style="background: url('/images/tj.jpg') no-repeat top left;
                            height: 27px; width: 85px; border-width: 0px;" />
                    </td>
                    <td width="48%" align="left" valign="middle">
                    
                        <input type="button" name="images1" id="reset"  style="background: url('/images/cz.jpg') no-repeat top left;
                            height: 27px; width: 85px; border-width: 0px;" />
                    </td>
                </tr>
            </table>
            <table width="95%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
        </div>
    </div>
}
